<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
        <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
        <meta http-equiv="pragma" content="no-cache" />
        <meta http-equiv="expires" content="0" />
        <script src="../../../../public/vendor/flexible/flexible.js"></script>
        <title>人员入厂-详情</title>
        <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
        <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
        <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
        <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css" />
        <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css" />
        <link rel="stylesheet" href="../../../../public/themes/base/css/site.css" id="admui-siteStyle" />
        <link rel="stylesheet" href="../../../../public/css/features/breed/inboundplan/inboundplaninfo.css" />

        <script id="addPlaceType-template" type="text/x-template">
            {{~ it :value:index}}
                <div class="report-contents-item-box">
                    <div class="weui-cell materialinfo">
                        <div class="weui-cell__hd"><label class="weui-label">名称</label></div>
                        <div class="weui-cell__bd">{{=value.name||''}}</div>
                    </div>
                    <div class="weui-cell materialinfo">
                        <div class="weui-cell__hd"><label class="weui-label">数量</label></div>
                        <div class="weui-cell__bd">{{=value.qty}}</div>
                    </div>
                </div>
            {{~}}
        </script>

        <script id="looksalesplanmain-template" type="text/x-template">
            <div class='entrycon'>
                <h4 class="plantails-head" style="padding-top: 10px;font-size: 17px;">单据信息</h4>
            </div>
            <div class="report-contents-item-box">
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">单据编号</label></div>
                    <div class="weui-cell__bd">{{=it.bizFormObj.billNo}}</div>
                </div>
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">目的地</label></div>
                    <div class="weui-cell__bd">{{=it.destFarm?.name||''}}</div>
                </div>
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">计划到厂日期</label></div>
                    <div class="weui-cell__bd">{{=moment(it.planDate).format('YYYY-MM-DD')}}</div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">姓名</label></div>
                    <div class="weui-cell__bd">{{=it.person.name}}</div>
                </div>
                  <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">工号</label></div>
                    <div class="weui-cell__bd">{{=it.person.numCode}}</div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">性别</label></div>
                    <div class="weui-cell__bd">{{=it.person.gender==1?'男':'女'}}</div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">电话号码</label></div>
                    <div class="weui-cell__bd">{{=it.person.phoneNumber}}</div>
                </div>
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">离厂日期</label></div>
                    <div class="weui-cell__bd">{{=moment(it.person.isolationDate).format('YYYY-MM-DD')}}</div>
                </div>
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">出发时间</label></div>
                    <div class="weui-cell__bd">{{=it.person.departTime ? moment(it.person.departTime).format('YYYY-MM-DD HH:mm:ss'):''}}</div>
                </div>
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">出发厂</label></div>
                    <div class="weui-cell__bd">{{=it.person.sourceFarm?.name||''}}</div>
                </div>
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">场所类型</label></div>
                    <div class="weui-cell__bd">{{=it?.placeTypeNameList||''}}</div>
                </div>
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">行程</label></div>
                    <div class="weui-cell__bd">{{=it?.person?.tripDetail||''}}</div>
                </div>
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">签到地点</label></div>
                    <div class="weui-cell__bd">{{=it?.person?.checkinInfo?.location||''}}</div>
                </div>
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">签到时间</label></div>
                    <div class="weui-cell__bd">{{=it?.person?.checkinInfo?.time||''? moment(it?.person?.checkinInfo?.time||'').format('YYYY-MM-DD HH:mm:ss'):''}}</div>
                </div>
                <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">人员采样编码</label></div>
                    <div class="weui-cell__bd">{{=it.person.psCode||""}}</div>
                </div>
                 <div class="weui-cell materialinfo">
                    <div class="weui-cell__hd"><label class="weui-label">物资采样编码</label></div>
                    <div class="weui-cell__bd">{{=it.person.msCode||""}}</div>
                </div>
                {{it.person.attachments}}
                {{? Utils.IsNotNull(it.person.attachments)}}
                <div class="weui-cell">
                    <div>
                        <div class="weui-cell__hd"><label class="weui-label">附件</label></div>
                        <div class="weui-cells-border weui-cells_form" id="uploader">
                            <div class="weui-cell" style="padding:0px">
                                <div class="weui-cell__bd">
                                    <div class="weui-uploader">
                                        <div class="weui-uploader__bd">
                                            <ul class="weui-uploader__files" id="uploaderFiles"></ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                {{?}}
            </div>
            {{it.person.belongings}}
            {{? Utils.IsNotNull(it.person.belongings)}}
                <div class='entrycon'>
                    <h4 class="plantails-head" style="padding-top: 10px;font-size: 17px;">随身物品</h4>
                </div>
                <div id='belongingsDiv'></div>
            {{?}}
            <div class="report-contents-item-box operation ">
                <div class="weui-cell operation-child">
                    <a href="javascript:;" class="weui-btn weui-btn_primary"
                       style="width: 100%;border-radius:8px;margin-top: 0px;margin-right: 0px;" id="returnlist"
                       v-on:click="returnlist">返回列表</a>
                </div>
            </div>
        </script>
    </head>

    <body>
        <div id="main-looksalesplan">
            <div id="looksalesplan">
                <div id="looksalesMain"></div>
            </div>
        </div>

        <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
        <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
        <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
        <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>
        <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>

        <script type="module" src="../../../../public/js/features/breed/inboundplan/inboundplaninfo.js"></script>
    </body>
</html>
